﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="BanKuaiAdd.aspx.cs" Inherits="OA.aspx.BBS.BanKuaiAdd" %>

<html>
<head>
    <title><%=System.Configuration.ConfigurationManager.AppSettings["SYSTitle"]%></title>

    <link href="../../css/main.css" rel="stylesheet" />

    <link href="../../Style/Style.css" rel="stylesheet" />
    <script src="../../JS/ShowDialog.js"></script>
    <script language="javascript">
        function PrintTable() {
            document.getElementById("PrintHide").style.visibility = "hidden"
            print();
            document.getElementById("PrintHide").style.visibility = "visible"
        }
    </script>
</head>
<body>
    <form id="form1" runat="server">
        <div>
            <table id="PrintHide" style="width: 100%" border="0" cellpadding="0" cellspacing="0">
                <tr>
                    <td valign="middle" style="height: 30px;">&nbsp;<img src="../../images/BanKuaiJianTou.png" />
                        <a class="hei" href="../Main/MyDesk.aspx">桌面</a>&nbsp;>>&nbsp;论坛BBS&nbsp;>>&nbsp;添加论坛版块
                    </td>
                    <td align="right" valign="middle" style="height: 30px;">

                        <asp:Button ID="iButton1" runat="server" CssClass="btn btn-blue" Text="提交" OnClick="iButton1_Click" />

                        &nbsp;
                        <button type="button" class="btn btn-yellow" onclick="javascript:window.history.go(-1)">返回</button></td>
                </tr>
                <tr>
                    <td height="3px" colspan="2" style="background-color: #ffffff"></td>
                </tr>
            </table>
            <table style="width: 100%" bgcolor="#999999" class="gridview_m" border="0" cellpadding="2" cellspacing="1">
                <tr>
                    <td align="right" style="width: 170px; height: 25px; background-color: #f9f9f7">版块名称：</td>
                    <td style="padding-left: 5px; height: 25px; background-color: #ffffff">
                        <asp:TextBox ID="TextBox1" runat="server" Width="350px"></asp:TextBox>
                        <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ControlToValidate="TextBox1"
                            ErrorMessage="*该项不能为空"></asp:RequiredFieldValidator></td>
                </tr>
                <tr>
                    <td align="right" style="width: 170px; height: 25px; background-color: #f9f9f7">版主列表：</td>
                    <td style="padding-left: 5px; height: 25px; background-color: #ffffff">
                        <asp:TextBox ID="TextBox2" runat="server" Height="50px" TextMode="MultiLine" Width="350px"></asp:TextBox>
                        <img class="HerCss" onclick="alertWindow('TextBox2')"
                            src="../../images/Button/searchadd.png" /></td>
                </tr>
                <tr>
                    <td align="right" style="width: 170px; height: 25px; background-color: #f9f9f7">版块描述：</td>
                    <td style="padding-left: 5px; height: 25px; background-color: #ffffff">
                        <asp:TextBox ID="TextBox3" runat="server" Height="50px" TextMode="MultiLine" Width="350px"></asp:TextBox></td>
                </tr>
                <tr>
                    <td align="right" style="width: 170px; height: 25px; background-color: #f9f9f7">版块主题图片：</td>
                    <td style="padding-left: 5px; height: 25px; background-color: #ffffff">
                        <asp:FileUpload ID="FileUpload1" runat="server" Width="350px" /></td>
                </tr>
                <tr>
                    <td align="right" style="width: 170px; height: 25px; background-color: #f9f9f7">允许进入（按角色）：</td>
                    <td style="padding-left: 5px; height: 25px; background-color: #ffffff">
                        <asp:TextBox ID="TextBox4" runat="server" Height="50px" TextMode="MultiLine" Width="350px">所有角色</asp:TextBox>
                        <img class="HerCss" onclick="alertSelectCondition('TextBox4', 'ERPJiaoSe', 'JiaoSeName')"
                            src="../../images/Button/searchadd.png" />
                        &nbsp; 设置为：【 <a onclick="document.getElementById('TextBox4').value='所有角色'" href="javascript:void(0);">所有角色</a> 】</td>
                </tr>
                <tr>
                    <td align="right" style="width: 170px; height: 25px; background-color: #f9f9f7">允许进入（按部门）：</td>
                    <td style="padding-left: 5px; height: 25px; background-color: #ffffff">
                        <asp:TextBox ID="TextBox5" runat="server" Height="50px" TextMode="MultiLine" Width="350px">所有部门</asp:TextBox>
                        <img class="HerCss" onclick="alertDanWei('TextBox5')"
                            src="../../images/Button/searchadd.png" />

                        &nbsp; 设置为：【 <a onclick="document.getElementById('TextBox5').value='所有部门'" href="javascript:void(0);">所有部门</a> 】</td>
                </tr>
                <tr>
                    <td align="right" style="width: 170px; height: 25px; background-color: #f9f9f7">允许进入（按用户）：</td>
                    <td style="padding-left: 5px; height: 25px; background-color: #ffffff">
                        <asp:TextBox ID="TextBox6" runat="server" Height="50px" TextMode="MultiLine" Width="350px">所有用户</asp:TextBox>
                        <img class="HerCss" onclick="alertWindow('TextBox6')"
                            src="../../images/Button/searchadd.png" />

                        &nbsp; 设置为：【 <a onclick="document.getElementById('TextBox6').value='所有用户'" href="javascript:void(0);">所有用户</a> 】</td>
                </tr>
            </table>
        </div>
    </form>
</body>
</html>
